package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDishDto;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    void saveWithDishes(SetmealDto setmealDto);
    Page<SetmealDto> selectByPage(Integer page,Integer pageSize,String name);
    SetmealDto updateWithDishes(Long id);
    void deleteSetmeal(Long[] ids);
    List<SetmealDishDto> listWithImage(Long setmealId);
}
